package com.dongdongshop.front.service;

import com.dongdongshop.front.pojo.TbContent;

import java.util.List;

public interface ContentService {
    List<TbContent> getContentByContentIdAndNumber(Long categoryId, Integer number);

    List<TbContent> getContent();

    void addContent(TbContent content);

    void updateContent(TbContent content);

    TbContent getContentById(Long id);

    void deleteContent(Long[] ids);
}
